package com.example.client.zkClient;

import com.example.client.ZKConstans;
import org.I0Itec.zkclient.ZkClient;

/**
 * @author Creared by wangyang on 2019-01-28 17:33
 * email:techyang.wangy.@ymm56.com
 */
public class DeletedNodeSample {
    public static void main(String[] args) {
        ZkClient zkClient = new ZkClient(ZKConstans.CONNECTOR_STRING, 5000);

        zkClient.deleteRecursive("/zk-book");
    }
}
